type MyButtonProps = {
  count: number;
  onClick: () => void;
};
import { Button } from 'antd';

export default function MyButton({ count, onClick }: MyButtonProps) {
  return <Button onClick={onClick}>点了 {count} 次</Button>;
}
